home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / win_u_z / winutil2.zip / EDOS.DOC < prev    next >
Text File  |  1992-02-17  |  35KB  |  1,255 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.           1  Introduction
  8.  
  9.  
  10.           Enhanced DOS for Windows(EDOS) is a unique command line processor
  11.           for DOS sessions, running in Windows 386 Enhanced Mode. Command
  12.           line enhancers have been around for several years. Some of them
  13.           completely replace command.com, such as 4DOS. EDOS is built using
  14.           completely new technology. It is similar to 4DOS in that it
  15.           catches commands typed at the keyboard and converts the command
  16.           into a set of functions that provide some custom feature, like a
  17.           dir command that sorts entries by alpha or maybe date.
  18.  
  19.           What really sets EDOS apart is that it is a VxD. VxD's are what
  20.           386 enhanced mode windows is built from. This implies that EDOS
  21.           is in fact a part of the Windows operating system. A VxD has
  22.           access to the entire base of Windows code, as well as the
  23.           hardware machine itself. There is almost nothing that a VxD can
  24.           not do. By building EDOS as a VxD instead of a real mode TSR,
  25.           EDOS can have commands that in effect can manipulate any aspect
  26.           of Windows that can be dreamed of.
  27.  
  28.           EDOS has access to any location in memory, to any data structure,
  29.           to the Windows scheduler, task manager, display control,
  30.           initialization system, and the list goes on and on. This is not
  31.           inherently dangerous, but it is powerful. Users can be provided
  32.           features that allow precise control of the environment. This
  33.           power is provided by way of a set of commands, the enhanced
  34.           commands of EDOS, in such a way that the operating system is
  35.           protected.
  36.  
  37.  
  38.           A brief list of features:
  39.  
  40.              1.  EDOS commands will execute in batch files.
  41.  
  42.              2.  Change/display pif settings.
  43.  
  44.              3.  Display extensive status information about current and
  45.                  other DOS sessions.
  46.  
  47.              4.  DOS commands that corrupt disks are disabled.
  48.  
  49.              5.  View the clipboard.
  50.  
  51.           (4DOS is a shareware product made by another company).
  52.  
  53.           1.1  NEW DOS Commands
  54.  
  55.           AltF4  [ON | OFF]
  56.  
  57.           STATUS [/? | /v | /l]
  58.           EDOS [/? | /v | /l]
  59.           PIF [/?]
  60.           EMS [/?]
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.           XMS [/?]
  74.           MEM [/?]
  75.           PRIB [/? | milliseconds]
  76.           PRIF [/? | milliseconds]
  77.           SLICE [/? | milliseconds]
  78.           DOSMEM [/? | k bytes]
  79.  
  80.           ALARM [/? | seconds]
  81.  
  82.           BOXSWITCH [/? | ON | OFF]
  83.           BACKGROUND [/? | ON | OFF]
  84.           EXCLUSIVE [/? | ON | OFF]
  85.  
  86.           CLIPBOARD [/? | /VIEW]
  87.  
  88.           SYSTIME [/?]
  89.           BOXTIME [/?]
  90.  
  91.           ISWIN [/?]
  92.  
  93.           The new DOS commands accept a "/?" option which provides the
  94.           usual help information.
  95.  
  96.           1.2  Installation Instructions
  97.  
  98.           Copy EDOS.386 from the distribution to the Windows Directory.
  99.  
  100.           For example:
  101.           copy a:edos.386 c:\win\*.*
  102.  
  103.  
  104.  
  105.           This is a special WINDOWS Virtual Device Driver. Not a DOS device
  106.           driver that would go in the CONFIG.SYS file.
  107.  
  108.           To install "EDOS.386", a line must be added to the SYSTEM.INI
  109.           file located in the Windows directory. This line must be placed
  110.           in the "[386Enh]" section.
  111.  
  112.           The line should look like this:
  113.  
  114.           [386Enh]
  115.           device=edos.386
  116.  
  117.  
  118.  
  119.  
  120.           THEN:
  121.           Copy ISWIN.COM & CLIPBOAR.COM to the Windows subdirectory.
  122.           Start Windows, click on the DOS Prompt Icon. When the DOS session
  123.           prompt displays, EDOS displays it's version number to prove that
  124.           it's there.
  125.  
  126.  
  127.  
  128.  
  129.  
  130.                                         - 2 -
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.           EDOS loads along with all the other VxD device drivers that make
  140.           up Windows enhanced mode. When Windows finishes loading EDOS is
  141.           running(like a TSR), and when you start a DOS session, it is
  142.           there waiting for you to give it one of it's special commands.
  143.  
  144.  
  145.  
  146.           NOTE: System.ini contains a reference to EBIOS. This is not EDOS.
  147.           It is not necessary to make any changes to the EBIOS entry.
  148.  
  149.           1.3  Tested With
  150.  
  151.           DOS 3.30, 4.01, 5.00.
  152.           Windows 3.0a, 3.1-3.
  153.  
  154.           1.4  Requires
  155.  
  156.           MS-Windows 3.0+, 386 Enhanced Mode and DOS 3.30+.
  157.  
  158.           1.5  Getting started
  159.  
  160.           There is a batch file called "TESTEDOS", suggest that you run it
  161.           first thing. It demonstrates some of the more interesting
  162.           features of EDOS.
  163.  
  164.           The feature I like the most is the Alt-F4 hot key that causes an
  165.           exit from a DOS session, just like typing exit plus enter. I
  166.           don't know about you, but I hate the extra typing and the fact
  167.           that it takes two hands. With Alt-F4 you can exit from the DOS
  168.           session with one hand, and the same hot key exits from Windows
  169.           itself.
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.                                  OPTIONAL INFORMATION
  179.  
  180.  
  181.           It is not necessary to read the following information. EDOS is
  182.           intended to be usable without resorting to the document file.
  183.           This information is supplied mearly in case you want to know
  184.           more.
  185.  
  186.  
  187.           2  Features included in this registered version
  188.  
  189.  
  190.           SPECIAL DOS prompt that visibly indicates DOS session is running
  191.           in Windows. See below.
  192.  
  193.  
  194.  
  195.  
  196.                                         - 3 -
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.           User definable DOS commands that are disabled.
  206.  
  207.           Ability to block switching away from a DOS session.
  208.  
  209.           Alt-F4 exits from a DOS session.
  210.  
  211.           EDOS thru version 1.30 is a shareware product. This is version
  212.           2.00 and is the version provided with registration.
  213.  
  214.           (Note: the same documentation file is being used for both
  215.           shareware and registration versions).
  216.  
  217.           2.1  Alt-F4
  218.  
  219.           ALTF4  [ON | OFF]
  220.  
  221.           The hot key combination Alt-F4 will cause a DOS session to exit
  222.           just as if "EXIT" + enter had been typed at the keyboard.
  223.  
  224.           This feature can be disabled in this version. See system.ini
  225.           switches. Can also be enabled/disabled using the optional
  226.           parameter ON or OFF.
  227.  
  228.           Not included in shareware version.
  229.  
  230.           2.2  STATUS & EDOS
  231.  
  232.           STATUS(EDOS) [/? | /v | /l]
  233.           The /v option displays all (verbose) information.
  234.           The /l option lists all the sessions: current, other, Windows
  235.           (system).
  236.  
  237.  
  238.           These two commands display a screen similar to the following:
  239.  
  240.           Enhanced DOS for Windows Version 2.00a
  241.           Free Memory: No Lock or Fix=     516K,Lockable=     516K
  242.           Swap File Size=        K, Type= None
  243.           Total Paging Mem=     0K, Free =      0K  In Use Total=     0 Kc, Contig=?
  244.           Windows Physical Memory Total=  2200K, Free=   544K
  245.           Physical UnLocked(in use)=      0Kc, Unlocked=     544K
  246.           Real Physical Memory Base=   640K, Extended=  3456K, Total =  4096K
  247.           EMS Free=    0K, EMS Total=    0K, Page Frame Address= E000 hex
  248.           PageOutCount=   1
  249.           Xlate Buffer Segment= 2800hex, Size    8192 bytes
  250.           Global Min. Time Slice=  21 ms.
  251.  
  252.           Current DOS Session
  253.           Background=N,   Exclusive=N
  254.           Foreground Priority=  100, Background Priority=   50, CPU Time=  66%
  255.           Memory Used=  164K, Not Mapped=   0K (1K=1024 Bytes)
  256.  
  257.  
  258.           Windows Session(System)
  259.  
  260.  
  261.  
  262.                                         - 4 -
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.           Background=Y,   Exclusive=Y
  272.           Foreground Priority=  101, Background Priority=   51, CPU Time=  33%
  273.           Memory Used=  960K, Not Mapped=   0K (1K=1024 Bytes)
  274.  
  275.  
  276.  
  277.           Explanation of status report:
  278.  
  279.           Free Memory: No Lock..   Memory (free) not lockable or fixable
  280.           Lockable                 Free memory (lockable)
  281.           Swap File Size           Size of Swap file in K bytes
  282.           Type                     None, DOS/BIOS, Direct to hard disk.
  283.           Total Paging Memory      Memory available to the demand pager
  284.             In use total           A calculation of Total-Free = in use.
  285.             Contig                 Y=Yes, N=No.
  286.           Windows Physical Mem     Total real memory available to Windows
  287.           EMS Free,Total           EMS memory, free and total available
  288.           PageOutCount             Number of pages on page out list
  289.           Xlate Buffer Segment     Segment & size of translation buffer
  290.           Global Min. Time Slice   Minimum time slice in milliseconds
  291.  
  292.           Background               Y=Background enabled. N=disabled
  293.           Exclusive                Y=Exclusive enabled. N=disabled
  294.           Memory Used              Memory dedicated to this session.
  295.           Not Mapped               Memory dedicated to session but not mapped in.
  296.           For/Back Priority        From PIF file, priority when in fore/background
  297.  
  298.           CPU Time                 Percent of CPU time assigned to this DOS session
  299.  
  300.  
  301.           2.3  ALARM
  302.  
  303.           ALARM  [/? | seconds]
  304.  
  305.           The alarm command allows you to set an alarm that will "ring" at
  306.           the time indicated by the (delay in seconds) parameter.
  307.  
  308.  
  309.           ALARM  5
  310.  
  311.           Will cause an alarm message to be displayed in 5 seconds. You
  312.           will be returned to the DOS session where the alarm was set.
  313.  
  314.  
  315.           NOTE: only one alarm is allowed in present version.
  316.  
  317.           2.4  BACKGROUND
  318.  
  319.           BACKGROUND [/? | ON | OFF]
  320.  
  321.           The background command causes the DOS session to have the
  322.           background mode changed. The background mode status is printed
  323.           whenever the mode is changed or the command is typed.
  324.  
  325.  
  326.  
  327.  
  328.                                         - 5 -
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.           The one allowed parameter turns the setting ON or OFF.
  338.  
  339.           2.5  BOXSWITCH
  340.  
  341.           BOXSWITCH [/? | ON | OFF]
  342.  
  343.           The boxswitch command enables/disables switching away from the
  344.           DOS session. The boxswitch mode status is printed whenever the
  345.           mode is changed or the command is typed.
  346.  
  347.           The one allowed parameter turns the setting ON or OFF.
  348.           (Note: not in shareware version).
  349.  
  350.           2.6  BOXTIME
  351.  
  352.           BOXTIME [/?]
  353.  
  354.           First invocation starts a DOS Box-time timer.
  355.           Second invocation prints the elapsed DOS session cpu time.
  356.  
  357.           Time is measure in milliseconds.
  358.  
  359.           2.7  CLIPBOARD
  360.  
  361.           CLIPBOARD [/? | /VIEW]
  362.  
  363.           The clipboard command displays the clipboard status or the
  364.           contents of the clipboard.
  365.  
  366.           Redirection allows the clipboard to be printed.
  367.  
  368.           Ex: clipboard /view > prn:
  369.  
  370.           (Note: not included in shareware version).
  371.  
  372.           2.8  DOSMEM
  373.  
  374.           DOSMEM [/? | K bytes]
  375.  
  376.           The DOSMEM allows you to add memory to the current DOS session.
  377.           Ex: DOSMEM  200
  378.  
  379.           Adds 200K bytes of memory to the DOS session.
  380.  
  381.  
  382.           DOSMEM, with no parameter, displays the DOS session size, the
  383.           space not occuppied by memory and the amount of memory left in
  384.           the memory pool.
  385.  
  386.           Example:
  387.  
  388.           DOSMEM<enter>
  389.  
  390.  
  391.  
  392.  
  393.  
  394.                                         - 6 -
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.           Present DOS memory size=  362 K bytes,   100 K bytes can be
  404.           added, From= 172K
  405.  
  406.  
  407.           This means that the DOS session is presently 362k, that 100k can
  408.           be added and that there is 172k from which to get the memory.
  409.  
  410.  
  411.           NOTE: it is not advisable to use all the remaining memory. If
  412.           172K is left, don't use more than 100-120k. Leave at least 50k.
  413.  
  414.           Presently only works one time in each DOS session.
  415.  
  416.           2.9  EMS
  417.  
  418.           EMS [/?]
  419.  
  420.           Displays the Expanded Memory minimum and maximum settings for the
  421.           DOS session.
  422.  
  423.           EMS Required=   0K EMS Limit=1024K
  424.           EMS Free=    0K, Total=    0K
  425.  
  426.           2.10  EXCLUSIVE
  427.  
  428.           EXCLUSIVE [/? | ON | OFF]
  429.  
  430.           The exclusive command causes the DOS session to have the
  431.           exclusive mode changed. The exclusive mode status is printed
  432.           whenever the mode is changed or the command is typed.
  433.  
  434.           The one allowed parameter turns the setting ON or OFF.
  435.  
  436.           2.11  ISWIN
  437.  
  438.           ISWIN returns an exit code of 3 to indicate that windows 3.xx is
  439.           running.
  440.  
  441.           This exit code may be tested in a batch file, like this:
  442.  
  443.           IF ERRORLEVEL 3 goto Windows3
  444.  
  445.           2.12  MEM
  446.  
  447.           MEM [/?]
  448.  
  449.           Displays the Windows low level memory information.
  450.  
  451.           Example:
  452.  
  453.           Total Mem= 7804K, Free Mem=5896K (unlocked),  Unlocked Mem=1252K
  454.           Physical Mem=2052K, Free Phys Mem=144K
  455.  
  456.  
  457.  
  458.  
  459.  
  460.                                         - 7 -
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.           NOTE: the most interesting number here is the Free Physical Mem.
  470.           Which in the example was only 144K.
  471.           When free physical reaches zero, all new memory is coming from
  472.           the disk swap file. This has a significant impact on system
  473.           performance.
  474.  
  475.           2.13  PRIB
  476.  
  477.           PRIB [/? | milliseconds]
  478.  
  479.           The background priority command(PRIB) allows you to change or
  480.           display the BACKGROUND Execution Priority of the DOS session.
  481.  
  482.           2.14  PRIF
  483.  
  484.           PRIF [/? | milliseconds]
  485.  
  486.           The foreground priority command(PRIF) allows you to change or
  487.           display the FOREGROUND Execution Priority of the DOS session.
  488.  
  489.           2.15  PIF
  490.  
  491.           PIF [/?]
  492.  
  493.           Displays the pif settings for the DOS Box. (not complete)
  494.           Sample:
  495.  
  496.  
  497.           Text Emulate
  498.           No Trap Text
  499.           No Trap Low Res Graphics
  500.           Trap High Res Graphics
  501.           Video Text Mode
  502.           EMS Required=   0K, Limit=1024K
  503.           XMS Required=   0K, Limit=1024K
  504.  
  505.           VDD Bits = 0017  , VM Status        00004000
  506.  
  507.           COMMAND.COM
  508.            /E:2000 /C any.bat
  509.  
  510.           C:\WIN\_DEFAULT.PIF
  511.  
  512.           2.16  SLICE
  513.  
  514.           SLICE  [/? | milliseconds]
  515.  
  516.           The slice command allows you to change or display the Minimum
  517.           Time Slice allocated to the DOS session.
  518.  
  519.           2.17  SYSTIME
  520.  
  521.           SYSTIME [/?]
  522.  
  523.  
  524.  
  525.  
  526.                                         - 8 -
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.           First invocation starts a system-time timer.
  536.           Second invocation prints the elapsed system time.
  537.  
  538.           Time is measure in milliseconds.
  539.  
  540.           2.18  XMS
  541.  
  542.           XMS [/?]
  543.  
  544.           Displays the Extended Memory required & limit settings for the
  545.           DOS session.
  546.  
  547.           XMS Required=   0K XMS Limit=1024K
  548.  
  549.           2.19  DOS Commands Disabled
  550.  
  551.           APPEND
  552.           SELECT
  553.           CHKDSK /F
  554.           JOIN
  555.           SUBST
  556.           FDISK
  557.           ASSIGN
  558.           FORMAT (use File Manager)
  559.           FASTOPEN
  560.           RECOVER
  561.           WIN
  562.  
  563.  
  564.  
  565.           Note: This list of DOS commands disabled, contains external
  566.           commands only. You should be aware that it is still possible to
  567.           execute these external programs using syntax similar to:
  568.           C:\chkdsk /f
  569.  
  570.           If you are concerned about this possibility, then you should
  571.           obtain our shareware program system named WINSAFE.
  572.  
  573.           2.20  DOS Commands Modified
  574.  
  575.           VER  (puts Windows Version + DOS Version).
  576.           VER /w puts up EDOS version number.
  577.           TIME (displays time, no altering. Use Control Panel).
  578.           DATE (same as time).
  579.           CHKDSK ( /F not allowed, all other options ok).
  580.           MEM puts up Window related memory information.
  581.  
  582.           2.21  DOS Commands User Disabled
  583.  
  584.           To disable a DOS command (or program) from running, insert the
  585.           following line in SYSTEM.INI, in the [386enh] section.
  586.           EDOSCommand=xxxxxxxx
  587.  
  588.  
  589.  
  590.  
  591.  
  592.                                         - 9 -
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.           for example:
  602.  
  603.           [386enh]
  604.           EDOSCommand=FORMAT
  605.           EDOSCommand=COMPRESS
  606.           EDOSCommand=COPY
  607.  
  608.           These 3 commands would disable FORMAT, COMPRESS and COPY.
  609.  
  610.           Each line will disable one DOS program or command. Up to 20 such
  611.           EDOSCommand(s) may be used.
  612.  
  613.           (Not included in shareware version)
  614.  
  615.           2.22  Batch Files
  616.  
  617.           These new DOS commands will execute in a batch file just like any
  618.           ordinary command.
  619.  
  620.           Extensive use of this feature will allow you to eliminate many
  621.           pif files.
  622.  
  623.           2.23  Ingenious ways to use the new commands
  624.  
  625.           Since DOS sessiones have never had these new commands and since I
  626.           have not had time to figure out all the clever ways to use them,
  627.           you will have to figure the clever uses yourself. Or, wait until
  628.           the next release, when I may have documented this for you.
  629.  
  630.           In the meantime, I would deeply appreciate any suggestions you
  631.           may have. Use my CIS account number, send E-Mail. Thanks.
  632.  
  633.  
  634.           3  Custom DOS Prompt
  635.  
  636.  
  637.           If the PROMPT that you ordinarily use ends in "$g" or "$l", then
  638.           whenever Windows is running the "g" will be changed to a "l" or
  639.           the "l" will be changed to a "g".(g & l are used as special
  640.           command markers. The g= ">" and the l= "<".
  641.  
  642.           The practical effect of this is that your Windows DOS session
  643.           prompt will be toggled from:
  644.  
  645.           C:>  to   C:<
  646.           or
  647.           C:<  to   C:>
  648.  
  649.  
  650.  
  651.           To disable this feature place the following line in SYSTEM.INI
  652.           next to the line you inserted "device=edos.386". "EDOSPrompt=0",
  653.           like this:
  654.  
  655.  
  656.  
  657.  
  658.                                        - 10 -
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.           [386Enh]
  668.           EDOSPrompt=0
  669.           device=edos.386
  670.  
  671.           Once the EDOSPrompt line is placed you may turn the feature back
  672.           on, by changing the "=0" to "=1". Like this:
  673.  
  674.           EDOSPrompt=1
  675.  
  676.  
  677.  
  678.  
  679.  
  680.  
  681.           Note: this is NOT the most elegant way to fix this very annoying
  682.           problem. It will not work for everyone, however, it is the
  683.           simplest fix and it WORKS!
  684.  
  685.  
  686.           NOTE: This feature is only included in the registered version.
  687.  
  688.  
  689.           4  Suggestions
  690.  
  691.  
  692.           4.1  Getting the most out of EDOS
  693.  
  694.           If you want to gain the most advantage from EDOS, you should
  695.           change your strategy for creating PIFs. The single biggest change
  696.           is to specify:
  697.  
  698.           Memory requirements: Required = 64k, limit = 128k
  699.  
  700.           Specify a batch file to run.
  701.  
  702.           Program filename:  comnd.bat (or whatever).
  703.  
  704.  
  705.           In comnd.bat:
  706.  
  707.           %COMSEPC%
  708.  
  709.  
  710.  
  711.  
  712.  
  713.           The end result of all this will be a DOS session that starts up
  714.           with 124k. The top line of the screen will give the EDOS sign-on
  715.           message. And, command.com will be run from the the default
  716.           COMSPEC location.
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.                                        - 11 -
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.           By running a batch file from the PIF you gain great flexibility
  734.           and any EDOS commands can be executed when the DOS session
  735.           starts.
  736.  
  737.           4.2  Edos message at DOS session startup
  738.  
  739.           If you run a batch file instead of command.com, then add a "@ver
  740.            /w" command to the batch file.(This is no longer necessary as of
  741.           EDOS v2.00).
  742.  
  743.           This will give you a screen that looks like this, when you first
  744.           start up a DOS session.
  745.  
  746.           Enhanced DOS for Windows(EDOS) Ver. 1.xx
  747.  
  748.           Microsoft DOS 5.00
  749.  
  750.           C:\<
  751.  
  752.  
  753.           5  Known Bugs
  754.  
  755.  
  756.           Amount of free system memory has a bug in Windows?.
  757.  
  758.           Error messages that DOS is less than version 3.30 or ASSIGN,
  759.           APPEND is loaded, do not display.(works ok in Windows 3.1)
  760.  
  761.           Redirection does not work right for MEM & HELP commands.
  762.  
  763.           Alarm sometimes will cause a memory corruption, IF a hot key
  764.           sequence is executed at the same time the alarm message would be
  765.           coming up.
  766.  
  767.           XT class machines with Intel Inboards or similar accelerator
  768.           cards will not have the correct counts for extended physical
  769.           memory.
  770.  
  771.  
  772.           6  Updates
  773.  
  774.  
  775.           Today is 2-12-92. EDOS is essentially complete. Do not expect any
  776.           major changes for a couple of months.
  777.  
  778.  
  779.           7  Advanced Information
  780.  
  781.  
  782.           7.1  DOSMEM
  783.  
  784.           This command is the most technically sophisticated, and
  785.           potentially environment sensitive of all EDOS commands. It has
  786.           been tested with DOS 3.3, 4.01, 5.0., also Windows 3.0a and
  787.  
  788.  
  789.  
  790.                                        - 12 -
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798.  
  799.           3.1-2,3. The method by which memory is added to a DOS session is
  800.           tricky. Until I have received more reports from the field, it is
  801.           safe to say that any exotic memory environment or other
  802.           version(s) of DOS may not work correctly.
  803.  
  804.           If you experience crashes associated with adding memory and the
  805.           DOS session going berserk, please let me know, provide details as
  806.           to your Windows & DOS versions, and config.sys settings.
  807.  
  808.           As soon as I am sure that the code for this command is stable, I
  809.           will add features to add memory repeatedly(now disabled), and to
  810.           subtract memory, among others.
  811.  
  812.           7.2  System.ini switches
  813.  
  814.           With default condition
  815.  
  816.           EDOSALTF4=<True>
  817.  
  818.           EDOSPrompt=<True>
  819.  
  820.           EDOSCommand=<blank>
  821.  
  822.           EDOSPrtScr=<True>
  823.  
  824.           7.3  EDOSPrtScr
  825.  
  826.           EDOSPrtScr defaults to true. Which means that The hot key prtscr
  827.           is reserved to your DOS application; and that print screen will
  828.           work as normal in that DOS, output will go to the printer, not
  829.           the clipboard.
  830.  
  831.           You may set this to false in system.ini. In which case prtscr
  832.           will send screen output to the clipboard. This is the Windows
  833.           default.
  834.  
  835.           7.4  Status
  836.  
  837.           When getting a status, some of the memory values will seem
  838.           strange. For instance, the size of the DOS mem is larger than the
  839.           amount of memory that DOS 5.0's mem command reports.
  840.  
  841.           The reason for this is that EDOS is reporting the amount of
  842.           memory in PAGES (4k) that Windows is using. Status converts the
  843.           page count into a byte count by multiplication.
  844.  
  845.           Example:
  846.  
  847.           Status reports DOS mem=684k
  848.           DOS 5.0 mem reports conventional memory as - 512k
  849.  
  850.           The difference is the wrapper that Windows provides, and includes
  851.           the display memory buffer and other data areas that are
  852.           "instanced". "Instance" means that Windows makes a local copy in
  853.  
  854.  
  855.  
  856.                                        - 13 -
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.  
  865.           each DOS session of that data. Data which gets instanced
  866.           includes: the low vector table, the display buffer, etc.
  867.  
  868.           The XLATE buffer segment address is the location that DOS uses to
  869.           store read/write buffers until Windows can copy them into
  870.           extended memory.
  871.  
  872.           7.5  Making sense of conflicting numbers
  873.  
  874.           You may assume that the numbers shown by EDOS are in fact
  875.           accurate. They have been checked for bugs(in EDOS). However there
  876.           are bugs in Windows and I have no control over those. Any bugs
  877.           reported will be dealt with, where possible.
  878.  
  879.           7.6  VDD Pif Bits
  880.  
  881.           The VDD pif bits will receive a better report in a later release.
  882.  
  883.  
  884.           8  Acknowledgments
  885.  
  886.  
  887.           To the authors of "Windows 3 Secrets", Brian Livingston and
  888.           Undocumented DOS, Andrew Shulman, et all: EDOS might never have
  889.           been, were it not for the inspiration I received from these two
  890.           books. Brian's book has been combed from cover to cover, for
  891.           months. It is the book I fall asleep reading. There may not be
  892.           any end to the goldmine that lies within it. Every day I wonder
  893.           how I can find any more insights; and then I find another.
  894.  
  895.           The list of EDOS features is rich, due in no small part to
  896.           Windows 3 Secrets.
  897.  
  898.           Undocumented DOS is almost as bad. Andrew's book may be nearly
  899.           deaf and blind about Windows, but a flash of insight while
  900.           reading the chapter on memory management led to the feature that
  901.           allows EDOS to change the amount of DOS session memory, on the
  902.           fly.
  903.  
  904.  
  905.           9  Viruses
  906.  
  907.  
  908.           EDOS is written in assembly language, in 386 protected mode and
  909.           runs at ring 0. There are no known viruses which can infect a
  910.           file of this type. That does not mean that one will not arise.
  911.           However, EDOS is much harder to infect than an ordinary, COM or
  912.           EXE file.
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.                                        - 14 -
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  
  929.  
  930.  
  931.           10  Optional Files
  932.  
  933.  
  934.           10.1  Extra PIFs
  935.  
  936.           Included is a PIF file, that will make setting up EDOS easier.
  937.  
  938.  
  939.           0-64.pif       a default pif with DOS memory settings of 0k, 64k.
  940.  
  941.  
  942.           Also included is COMND.bat: a batch file that 0-64.pif runs.
  943.  
  944.           10.2  GRP file
  945.  
  946.           (empty)
  947.  
  948.           10.3  Creating a DOSBOX group file
  949.  
  950.           (empty)
  951.  
  952.  
  953.           11  Features Implemented
  954.  
  955.  
  956.           Detect duplicate install of EDOS.
  957.           Detect VWPD installed, disable install of EDOS.
  958.           Detect permanent swap file, provide state of it in status.
  959.           Detects SHARE not installed.
  960.  
  961.           Version 1.01
  962.           Detect DOS is 3.30 or greater.
  963.           Detect ASSIGN or APPEND is loaded.
  964.           PRI(B,F), SLEEP, ALARM, SLICE, EMS & XMS commands added.
  965.           PRI(B,F), SLEEP, SLICE, ALARM accept a parameter.
  966.           APPEND and ASSIGN, if loaded, will cause a warning message.
  967.           BACKON, BACKOFF, EXCLON, EXCLOFF commands added.
  968.           Version 1.10b
  969.           Fix for DOS 3.30 not loading EDOS.
  970.           Version 1.10c
  971.           Fix for Chkdsk begin run /F. (chkdsk /V/F).
  972.           Version 1.10d
  973.           Fix for Swapfile type, and MEM command installed.
  974.  
  975.           Version 1.5c
  976.           PIF command, similar to status, displays pif settings.
  977.           EMS & XMS commands display free and total available.
  978.           Swapfile now displays the type.
  979.           BACK(ON,OFF) changed to BACKGROUND.
  980.           EXCL(ON,OFF) changed to EXCLUSIVE.
  981.  
  982.           Version 1.5e
  983.           MEM command, displays low level memory information. Free Physical
  984.           Memory, etc.
  985.  
  986.  
  987.  
  988.                                        - 15 -
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.           Version 1.5f
  998.           Various small fixes for information displays.
  999.  
  1000.           Version 1.5g
  1001.           Added Boxswitch command.
  1002.           Added Clipboard command.
  1003.  
  1004.           Version 1.5i
  1005.           Disable Print Screen to clipboard.
  1006.           Also enable Print Screen to clipboard(EDOSPrtScr in system.ini).
  1007.           ALARM command returns to DOS session that called it.
  1008.           VER command supports /w option. Useful for start-up of DOS
  1009.           session.
  1010.  
  1011.           Version 1.60a
  1012.           Background command now warns if it will not be effective.
  1013.           Many small fixes to the status and memory reporting commands.
  1014.           DOSMEM command included, that allows ADDing memory to a DOS
  1015.           session after the BOX is started.
  1016.  
  1017.           Version 2.00a
  1018.           Status /v information fixed. Amount of memory available for a DOS
  1019.           session is fixed.
  1020.           Status /l command added. Lists all sessions.
  1021.           Numerous small fixes.
  1022.           Edos version message appears in all boxes automatically.
  1023.  
  1024.           Version 2.00b
  1025.           Added feature where DOSSTART.BAT is run whenever a DOS session is
  1026.           started.
  1027.           Added ISWIN command. Returns exit code of 3.
  1028.  
  1029.  
  1030.           Most, if not all EDOS commands will return exit codes in a future
  1031.           version.
  1032.  
  1033.  
  1034.           12  Bugs Fixed
  1035.  
  1036.  
  1037.           Version 1.01
  1038.           Enhanced commands did not redirect correctly, in prior version.
  1039.  
  1040.           Version 1.01a
  1041.           EMS,XMS maximum, not reporting ok if -1.
  1042.           EDOS won't load, DOS 3.30, 11-25-91 version.
  1043.  
  1044.           Version 1.50
  1045.           DOS Prompt
  1046.  
  1047.           Version 1.5a
  1048.           Description of Execution Time changed to CPU Time %.
  1049.           Workaround for Get System Memory Size.
  1050.           Fix for PIF bits not being jumped to VDD.
  1051.  
  1052.  
  1053.  
  1054.                                        - 16 -
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.  
  1062.  
  1063.           Alt-F4 hot key implemented. Exits from DOS session.
  1064.  
  1065.           Version 1.5c
  1066.           Fix for alarm. Always displays in graphics.
  1067.           Fixed, alarm was displaying twice.
  1068.           Numerous fixes for informational displays.
  1069.           Fix for unique DOS prompt, that did not always change.
  1070.           Fix for fail to load with DOS 3.30.
  1071.  
  1072.           Version 1.50f
  1073.           Fix for mem & help commands hanging.
  1074.  
  1075.           Version 1.50h
  1076.           Fix for DOS session not working in Windows 3.0(x)
  1077.  
  1078.  
  1079.           Version 1.60f
  1080.           Fixed: certain memory size information is way off in DOS
  1081.           4.01(numbers near 4 billion).
  1082.  
  1083.  
  1084.           13  Bulletin Board Description
  1085.  
  1086.  
  1087.           TITLE: DOS Command Enhancer & Other Features for Windows
  1088.  
  1089.           KEYWORDS: EDOS ENHANCED WINDOWS DOS STATUS MEMORY BATCH PIF
  1090.  
  1091.           Extensive new commands, execute from command line. Change pif
  1092.           settings & DOS memory size in batch files.  Extensive status
  1093.           information. Swap File Size. Set/Change Priority & time slice
  1094.           states and more. Performance timers & Alarms. DOS commands that
  1095.           corrupt disks are disabled. Simple installation. DOC & device
  1096.           driver. Requires Windows 386 enhanced mode, DOS 3.3+. Uploaded by
  1097.           author. 2 min. download. Significant update...Version 2.00.
  1098.  
  1099.  
  1100.           14  Our Address
  1101.  
  1102.  
  1103.           Mom's Software
  1104.           Box 449
  1105.           Rockaway Beach, Oregon 97136
  1106.           503-355-2281
  1107.           503-694-5267
  1108.           CIS 71171,47
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.                                        - 17 -
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129.  
  1130.  
  1131.  
  1132.  
  1133.  
  1134.  
  1135.                                     Contents
  1136.  
  1137.  
  1138.                   1  Introduction  . . . . . . . . . . . . . . . . . 1
  1139.                      1.1  NEW DOS Commands . . . . . . . . . . . . . 1
  1140.                      1.2  Installation Instructions  . . . . . . . . 2
  1141.                      1.3  Tested With  . . . . . . . . . . . . . . . 3
  1142.                      1.4  Requires . . . . . . . . . . . . . . . . . 3
  1143.                      1.5  Getting started  . . . . . . . . . . . . . 3
  1144.                   2  Features included in this registered version  . 3
  1145.                      2.1  Alt-F4 . . . . . . . . . . . . . . . . . . 4
  1146.                      2.2  STATUS & EDOS  . . . . . . . . . . . . . . 4
  1147.                      2.3  ALARM  . . . . . . . . . . . . . . . . . . 5
  1148.                      2.4  BACKGROUND . . . . . . . . . . . . . . . . 5
  1149.                      2.5  BOXSWITCH  . . . . . . . . . . . . . . . . 6
  1150.                      2.6  BOXTIME  . . . . . . . . . . . . . . . . . 6
  1151.                      2.7  CLIPBOARD  . . . . . . . . . . . . . . . . 6
  1152.                      2.8  DOSMEM . . . . . . . . . . . . . . . . . . 6
  1153.                      2.9  EMS  . . . . . . . . . . . . . . . . . . . 7
  1154.                      2.10  EXCLUSIVE . . . . . . . . . . . . . . . . 7
  1155.                      2.11  ISWIN . . . . . . . . . . . . . . . . . . 7
  1156.                      2.12  MEM . . . . . . . . . . . . . . . . . . . 7
  1157.                      2.13  PRIB  . . . . . . . . . . . . . . . . . . 8
  1158.                      2.14  PRIF  . . . . . . . . . . . . . . . . . . 8
  1159.                      2.15  PIF . . . . . . . . . . . . . . . . . . . 8
  1160.                      2.16  SLICE . . . . . . . . . . . . . . . . . . 8
  1161.                      2.17  SYSTIME . . . . . . . . . . . . . . . . . 8
  1162.                      2.18  XMS . . . . . . . . . . . . . . . . . . . 9
  1163.                      2.19  DOS Commands Disabled . . . . . . . . . . 9
  1164.                      2.20  DOS Commands Modified . . . . . . . . . . 9
  1165.                      2.21  DOS Commands User Disabled  . . . . . . . 9
  1166.                      2.22  Batch Files . . . . . . . . . . . . . .  10
  1167.                      2.23  Ingenious ways to use the new commands . 10
  1168.                   3  Custom DOS Prompt . . . . . . . . . . . . . .  10
  1169.                   4  Suggestions . . . . . . . . . . . . . . . . .  11
  1170.                      4.1  Getting the most out of EDOS . . . . . .  11
  1171.                      4.2  Edos message at DOS session startup  . .  12
  1172.                   5  Known Bugs  . . . . . . . . . . . . . . . . .  12
  1173.                   6  Updates . . . . . . . . . . . . . . . . . . .  12
  1174.                   7  Advanced Information  . . . . . . . . . . . .  12
  1175.                      7.1  DOSMEM . . . . . . . . . . . . . . . . .  12
  1176.                      7.2  System.ini switches  . . . . . . . . . .  13
  1177.                      7.3  EDOSPrtScr . . . . . . . . . . . . . . .  13
  1178.                      7.4  Status . . . . . . . . . . . . . . . . .  13
  1179.                      7.5  Making sense of conflicting numbers  . .  14
  1180.                      7.6  VDD Pif Bits . . . . . . . . . . . . . .  14
  1181.                   8  Acknowledgments . . . . . . . . . . . . . . .  14
  1182.                   9  Viruses . . . . . . . . . . . . . . . . . . .  14
  1183.  
  1184.  
  1185.  
  1186.                                           i
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.  
  1193.  
  1194.  
  1195.                   10  Optional Files . . . . . . . . . . . . . . .  15
  1196.                      10.1  Extra PIFs  . . . . . . . . . . . . . .  15
  1197.                      10.2  GRP file  . . . . . . . . . . . . . . .  15
  1198.                      10.3  Creating a DOSBOX group file  . . . . .  15
  1199.                   11  Features Implemented . . . . . . . . . . . .  15
  1200.                   12  Bugs Fixed . . . . . . . . . . . . . . . . .  16
  1201.                   13  Bulletin Board Description . . . . . . . . .  17
  1202.                   14  Our Address  . . . . . . . . . . . . . . . .  17
  1203.  
  1204.  
  1205.  
  1206.  
  1207.  
  1208.  
  1209.  
  1210.  
  1211.  
  1212.  
  1213.  
  1214.  
  1215.  
  1216.  
  1217.  
  1218.  
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240.  
  1241.  
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.  
  1252.                                          ii
  1253.  
  1254.  
  1255.